package controllers;


import models.data.Afangar;
import play.mvc.Controller;
import play.mvc.Result;
import play.mvc.Security;
import views.html.createQuestion;
import views.html.index;


public class Application extends Controller {

    @Security.Authenticated(Secured.class)
    public static Result index() {
        return ok(index.render("index"));
    }
    //@Security.Authenticated(Secured.class)
   // public static Result createQuestion() {
        //return ok(createQuestion.render(Afangar.find.all(), questionForm));
    //}

}